<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>留言配置</title>
<!-- BEGIN 页面公共文件 -->
<load href="__COMMON__/css/init.css" />
<load href="__COMMON__/css/font-icons.css" />
<load href="__COMMON__/js/jquery.min.js" />
<!-- END 页面公共文件 -->


<!-- BEGIN 当前页面的css 和js -->
<load href="__COMMON__/css/tools/easydialog.css" />
<load href="__ADMIN_CSS__/common.css" />
<load href="__ADMIN_CSS__/goods/attr_add.css" />
<load href="__COMMON__/js/tools/easydialog.min.js" />
	<load href="__COMMON__/js/tools/ajaxFileUpload.js" />
<load href="__COMMON__/js/tools/Validator.js" />
<!-- END 当前页面的css 和js -->
<style type="text/css">
	.forminfo li label.label{
		width: 140px;
	}
	.forminfo li i.tip_i {
		display: block;
		clear: both;
		margin-left: 120px;
	}
	label.cursor_p {
		cursor: pointer;
	}
</style>
</head>
<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="{:U('Index/main')}">首页</a></li>
    <li><a href="{:U('Sysconfig/index')}">留言列表</a></li>
    <li><a href="javascript:void(0)">留言功能配置</a></li>
    </ul>
    <a class="reload" href="javascript:void(0)" onclick="window.location.reload()"><i class="fa fa-refresh"></i>重载此页面</a>
    </div>

    <div class="formbody">
    <div class="formtitle">
    	<span>留言功能配置</span>
		</div>
		<form name="msgconf" action="{:U('Message/msgConfig')}" method="post" onsubmit="return check()">
    <ul class="forminfo">
    <li><label class="label"><b>*</b>开启留言功能</label>
		<label  class="cursor_p"><input name="message_enable" type="radio" value="1" id="enable" <eq name="msgconfig.message_enable" value="1">checked="true"</eq>/>&nbsp;&nbsp;启用</label>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label  class="cursor_p"><input name="message_enable" type="radio" value="0" id="unenable" <eq name="msgconfig.message_enable" value="0">checked="true"</eq>/>&nbsp;&nbsp;停用</label>
	<i class="tip_i">如果留言功能关闭，前端将无法留言</i>
	</li>
    <li><label class="label"><b>*</b>开启留言通知</label>
		<label class="cursor_p"><input name="notice_enable" type="radio" value="1" id="enable" <eq name="msgconfig.notice_enable" value="1">checked="true"</eq> />&nbsp;&nbsp;启用</label>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label  class="cursor_p"><input name="notice_enable" type="radio" value="0" id="unenable" <eq name="msgconfig.notice_enable" value="0">checked="true"</eq>/>&nbsp;&nbsp;停用</label>
	<i  class="tip_i">开启留言通知，当前端有人留言时，系统将以邮件形式发送留言通知到您指定的邮件接收账户<br />您可以<a href="{:U('Sysconfig/mail')}" style="color: #0a6999;margin: 0 8px;">点击这里</a>更改和查看<b>邮件接收账户</b></i>
	</li>
    <li><label class="label">&nbsp;</label><input name="submit" type="submit" class="submit submitable" value="更改设置" />
		<input name="id" type="hidden" value="{$msgconfig.id|default=0}"/>
	<i placeholder="" id="submit_tips"></i>
	</li>
    </ul>
		</form>
</div>
</body>
</html>

